﻿
using System; 
using System.Text;
using System.Collections.Generic; 
using System.Data;
using Kevin.Framework.Data.OrmMapping;
using Kevin.Framework.Validation;
using Kevin.Framework.Data.Query;
/*------------------------------------------------------------------------
   苏州捷安信息科技有限公司 版权所有			
   文件名: TU_Action.cs
   作 者 : 席吉波
   日 期 : 2012-10-16
   备 注 : 当您对本文件更改时请写明修改人、修改日期以及事由
  ------------------------------------------------------------------------
*/
namespace JOIN.Rights.Model{
   
	//TU_Action
	[Serializable]
	[TableMapping("TU_Action")]
	public partial class ActionInfo : EntityBase
	{
		#region Constructor
		
		public ActionInfo()
			:this("")
		{}
		public ActionInfo(string connectionKey)
			:base(connectionKey)
		{}
		
		#endregion
   		
      			
		private int _id;     
		/// <summary>
		/// ID
        /// </summary>		
		[FieldMapping("ID" )]		
		[NotNullValidator(MessageTemplate="不能为空")]
		public int ID
        {
            get
            { 
            	return _id; 
            }
            set
            { 
            	if(_id != value)
            	{            	
            		base.OnPropertyChanged("ID", _id, value);
            		_id = value; 
            	}
            }
        }        
				
		private string _actionid;     
		/// <summary>
		/// 操作ID
        /// </summary>		
		[FieldMapping("ActionID" )]		
				public string ActionID
        {
            get
            { 
            	return _actionid; 
            }
            set
            { 
            	if(_actionid != value)
            	{            	
            		base.OnPropertyChanged("ActionID", _actionid, value);
            		_actionid = value; 
            	}
            }
        }        
				
		private string _actionname;     
		/// <summary>
		/// 操作名
        /// </summary>		
		[FieldMapping("ActionName" )]		
				public string ActionName
        {
            get
            { 
            	return _actionname; 
            }
            set
            { 
            	if(_actionname != value)
            	{            	
            		base.OnPropertyChanged("ActionName", _actionname, value);
            		_actionname = value; 
            	}
            }
        }        
				
		private string _actiondesc;     
		/// <summary>
		/// 操作说明
        /// </summary>		
		[FieldMapping("ActionDesc" )]		
				public string ActionDesc
        {
            get
            { 
            	return _actiondesc; 
            }
            set
            { 
            	if(_actiondesc != value)
            	{            	
            		base.OnPropertyChanged("ActionDesc", _actiondesc, value);
            		_actiondesc = value; 
            	}
            }
        }        
		   
	}
}